[gd_scene load_steps=25 format=1]

[ext_resource path="res://images/particles/thrust02.png" type="Texture" id=1]
[ext_resource path="res://images/particles/steering02.png" type="Texture" id=2]
[ext_resource path="res://scripts/shader/ship.tres" type="Shader" id=3]
[ext_resource path="res://images/ships/freighter01_n.png" type="Texture" id=4]
[ext_resource path="res://images/ships/freighter01_c.png" type="Texture" id=5]
[ext_resource path="res://images/lights/light02.png" type="Texture" id=6]

[sub_resource type="ConvexPolygonShape2D" id=1]

custom_solver_bias = 0.0
points = Vector2Array( -40, -96, -38, -98, -29, -98, -29, -86, -40, 103 )

[sub_resource type="ConvexPolygonShape2D" id=2]

custom_solver_bias = 0.0
points = Vector2Array( -40, 103, -29, -86, -26, -82, -38, 103 )

[sub_resource type="ConvexPolygonShape2D" id=3]

custom_solver_bias = 0.0
points = Vector2Array( -26, -82, -19, -82, -19, -79, -38, 103 )

[sub_resource type="ConvexPolygonShape2D" id=4]

custom_solver_bias = 0.0
points = Vector2Array( -8, -89, -8, -98, -7, -98 )

[sub_resource type="ConvexPolygonShape2D" id=5]

custom_solver_bias = 0.0
points = Vector2Array( -7, -98, -7, -103, 7, -103, 7, -98 )

[sub_resource type="ConvexPolygonShape2D" id=6]

custom_solver_bias = 0.0
points = Vector2Array( -8, -89, 7, -98, 8, -98, 8, -89, -9, -87 )

[sub_resource type="ConvexPolygonShape2D" id=7]

custom_solver_bias = 0.0
points = Vector2Array( 19, -79, 19, -93, 22, -93, 38, 103 )

[sub_resource type="ConvexPolygonShape2D" id=8]

custom_solver_bias = 0.0
points = Vector2Array( 22, -93, 22, -98, 26, -98, 38, 103 )

[sub_resource type="ConvexPolygonShape2D" id=9]

custom_solver_bias = 0.0
points = Vector2Array( 40, -112, 40, 103, 38, 103, 26, -98, 28, -102, 38, -114 )

[sub_resource type="ConvexPolygonShape2D" id=10]

custom_solver_bias = 0.0
points = Vector2Array( 28, -102, 29, -114, 38, -114 )

[sub_resource type="ConvexPolygonShape2D" id=11]

custom_solver_bias = 0.0
points = Vector2Array( -35, 114, -38, 103, -19, -79, -15, -79, -11, 103, -14, 114 )

[sub_resource type="ConvexPolygonShape2D" id=12]

custom_solver_bias = 0.0
points = Vector2Array( 14, 114, 11, 103, 15, -79, 19, -79, 38, 103, 35, 114 )

[sub_resource type="ConvexPolygonShape2D" id=13]

custom_solver_bias = 0.0
points = Vector2Array( -8, -89, -7, -98, 7, -98 )

[sub_resource type="ConvexPolygonShape2D" id=14]

custom_solver_bias = 0.0
points = Vector2Array( 9, 103, 7, 114, -7, 114, -9, 103, 15, -79 )

[sub_resource type="ConvexPolygonShape2D" id=15]

custom_solver_bias = 0.0
points = Vector2Array( 15, -79, 11, 103, 9, 103 )

[sub_resource type="ConvexPolygonShape2D" id=16]

custom_solver_bias = 0.0
points = Vector2Array( 15, -79, -9, 103, -11, 103, -15, -79, -9, -82, 9, -82 )

[sub_resource type="ConvexPolygonShape2D" id=17]

custom_solver_bias = 0.0
points = Vector2Array( 9, -88, 9, -82, -9, -82, -9, -87, 8, -89 )

[sub_resource type="CanvasItemMaterial" id=18]

shader/shader = ExtResource( 3 )
shader/shading_mode = 0
shader_param/normal = ExtResource( 4 )

[node name="Freighter" type="RigidBody2D"]

input/pickable = false
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/trigger = false
shapes/1/shape = SubResource( 2 )
shapes/1/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/1/trigger = false
shapes/2/shape = SubResource( 3 )
shapes/2/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/2/trigger = false
shapes/3/shape = SubResource( 4 )
shapes/3/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/3/trigger = false
shapes/4/shape = SubResource( 5 )
shapes/4/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/4/trigger = false
shapes/5/shape = SubResource( 6 )
shapes/5/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/5/trigger = false
shapes/6/shape = SubResource( 7 )
shapes/6/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/6/trigger = false
shapes/7/shape = SubResource( 8 )
shapes/7/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/7/trigger = false
shapes/8/shape = SubResource( 9 )
shapes/8/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/8/trigger = false
shapes/9/shape = SubResource( 10 )
shapes/9/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/9/trigger = false
shapes/10/shape = SubResource( 11 )
shapes/10/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/10/trigger = false
shapes/11/shape = SubResource( 12 )
shapes/11/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/11/trigger = false
shapes/12/shape = SubResource( 13 )
shapes/12/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/12/trigger = false
shapes/13/shape = SubResource( 14 )
shapes/13/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/13/trigger = false
shapes/14/shape = SubResource( 15 )
shapes/14/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/14/trigger = false
shapes/15/shape = SubResource( 16 )
shapes/15/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/15/trigger = false
shapes/16/shape = SubResource( 17 )
shapes/16/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/16/trigger = false
collision/layers = 1
collision/mask = 1
mode = 2
mass = 4.0
friction = 1.0
bounce = 1.0
gravity_scale = 1.0
custom_integrator = true
continuous_cd = 0
contacts_reported = 0
contact_monitor = false
sleeping = false
can_sleep = true
velocity/linear = Vector2( 0, 0 )
velocity/angular = 0.0
damp_override/linear = -1.0
damp_override/angular = -1.0
__meta__ = { "__editor_plugin_screen__":"2D" }

[node name="Engine" type="Node2D" parent="."]

[node name="Thrust1" type="Sprite" parent="Engine"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( 24, 126.8 )
transform/scale = Vector2( 0.75, 0.7 )
texture = ExtResource( 1 )

[node name="Thrust2" type="Sprite" parent="Engine"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( -24, 126.8 )
transform/scale = Vector2( 0.75, 0.7 )
texture = ExtResource( 1 )

[node name="Thrust3" type="Sprite" parent="Engine"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( 1.78814e-07, 130.2 )
transform/scale = Vector2( 0.5, 0.8 )
texture = ExtResource( 1 )

[node name="SteeringLeft" type="Node2D" parent="."]

visibility/light_mask = 0

[node name="Steering1" type="Sprite" parent="SteeringLeft"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( -47, -75.2 )
transform/rot = -90.0
transform/scale = Vector2( 0.6, 0.5 )
texture = ExtResource( 2 )

[node name="Steering2" type="Sprite" parent="SteeringLeft"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( -47, -69.2 )
transform/rot = -90.0
transform/scale = Vector2( 0.6, 0.5 )
texture = ExtResource( 2 )

[node name="Steering3" type="Sprite" parent="SteeringLeft"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( -47, -63.2 )
transform/rot = -90.0
transform/scale = Vector2( 0.6, 0.5 )
texture = ExtResource( 2 )

[node name="Steering4" type="Sprite" parent="SteeringLeft"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( 47, 76.8 )
transform/rot = 90.0
transform/scale = Vector2( 0.6, 0.5 )
texture = ExtResource( 2 )

[node name="Steering5" type="Sprite" parent="SteeringLeft"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( 47, 70.8 )
transform/rot = 90.0
transform/scale = Vector2( 0.6, 0.5 )
texture = ExtResource( 2 )

[node name="Steering6" type="Sprite" parent="SteeringLeft"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( 47, 64.8 )
transform/rot = 90.0
transform/scale = Vector2( 0.6, 0.5 )
texture = ExtResource( 2 )

[node name="SteeringRight" type="Node2D" parent="."]

visibility/light_mask = 0

[node name="Steering1" type="Sprite" parent="SteeringRight"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( 47, -75.2 )
transform/rot = 90.0
transform/scale = Vector2( 0.6, 0.5 )
texture = ExtResource( 2 )

[node name="Steering2" type="Sprite" parent="SteeringRight"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( 47, -69.2 )
transform/rot = 90.0
transform/scale = Vector2( 0.6, 0.5 )
texture = ExtResource( 2 )

[node name="Steering3" type="Sprite" parent="SteeringRight"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( 47, -63.2 )
transform/rot = 90.0
transform/scale = Vector2( 0.6, 0.5 )
texture = ExtResource( 2 )

[node name="Steering4" type="Sprite" parent="SteeringRight"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( -47, 76.8 )
transform/rot = -90.0
transform/scale = Vector2( 0.6, 0.5 )
texture = ExtResource( 2 )

[node name="Steering5" type="Sprite" parent="SteeringRight"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( -47, 70.8 )
transform/rot = -90.0
transform/scale = Vector2( 0.6, 0.5 )
texture = ExtResource( 2 )

[node name="Steering6" type="Sprite" parent="SteeringRight"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( -47, 64.8 )
transform/rot = -90.0
transform/scale = Vector2( 0.6, 0.5 )
texture = ExtResource( 2 )

[node name="Sprite" type="Sprite" parent="."]

material/material = SubResource( 18 )
transform/scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 5 )

[node name="LightFrontRight" type="Light2D" parent="."]

transform/pos = Vector2( 32, -326 )
transform/rot = -94.0
transform/scale = Vector2( 2, 1.25 )
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="LightFrontLeft" type="Light2D" parent="."]

transform/pos = Vector2( -32, -326 )
transform/rot = -86.0
transform/scale = Vector2( 2, 1.25 )
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="LightLeft1" type="Light2D" parent="."]

transform/pos = Vector2( -160, -42 )
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="LightLeft2" type="Light2D" parent="."]

transform/pos = Vector2( -160, 0 )
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="LightLeft3" type="Light2D" parent="."]

transform/pos = Vector2( -160, 42 )
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="LighlRight1" type="Light2D" parent="."]

transform/pos = Vector2( 160, -42 )
transform/rot = 180.0
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="LighlRight2" type="Light2D" parent="."]

transform/pos = Vector2( 160, 0 )
transform/rot = 180.0
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="LighlRight3" type="Light2D" parent="."]

transform/pos = Vector2( 160, 42 )
transform/rot = 180.0
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]

visibility/visible = false
build_mode = 0
polygon = Vector2Array( -38, -98, -29, -98, -29, -86, -26, -82, -19, -82, -19, -79, -15, -79, -9, -82, -9, -87, -8, -89, -8, -98, -7, -98, -7, -103, 7, -103, 7, -98, 8, -98, 8, -89, 9, -88, 9, -82, 15, -79, 19, -79, 19, -93, 22, -93, 22, -98, 26, -98, 28, -102, 29, -114, 38, -114, 40, -112, 40, 103, 38, 103, 35, 114, 14, 114, 11, 103, 9, 103, 7, 114, -7, 114, -9, 103, -11, 103, -14, 114, -35, 114, -38, 103, -40, 103, -40, -96 )
shape_range = Vector2( 0, 16 )
trigger = false

[node name="Weapon1" type="Position2D" parent="."]

transform/pos = Vector2( -24, -92 )

[node name="Weapon2" type="Position2D" parent="."]

transform/pos = Vector2( 24, -108 )

[node name="Missile1" type="Position2D" parent="."]

transform/pos = Vector2( 0, -104 )

[node name="Turret1" type="Position2D" parent="."]

transform/pos = Vector2( -20, -20 )

[node name="Turret2" type="Position2D" parent="."]

transform/pos = Vector2( 20, 9 )

[node name="Turret3" type="Position2D" parent="."]

transform/pos = Vector2( -20, 24 )

[node name="Reactor1" type="Position2D" parent="."]

transform/pos = Vector2( -19, 1 )

[node name="Reactor2" type="Position2D" parent="."]

transform/pos = Vector2( 18, -13 )

[node name="Reactor3" type="Position2D" parent="."]

transform/pos = Vector2( 18, 31 )

[node name="Engine1" type="Position2D" parent="."]

transform/pos = Vector2( -24, 105 )

[node name="Engine2" type="Position2D" parent="."]

transform/pos = Vector2( 25, 104 )

[node name="Engine3" type="Position2D" parent="."]

transform/pos = Vector2( 0, 103 )

[node name="External1" type="Position2D" parent="."]

transform/pos = Vector2( -20, -63 )

[node name="External2" type="Position2D" parent="."]

transform/pos = Vector2( 21, -65 )

[node name="Internal1" type="Position2D" parent="."]

transform/pos = Vector2( 20, -35 )

[node name="Internal2" type="Position2D" parent="."]

transform/pos = Vector2( 20, 52 )

[node name="Internal3" type="Position2D" parent="."]

transform/pos = Vector2( -20, 67 )

[node name="GrapplingHook1" type="Position2D" parent="."]

transform/pos = Vector2( 0, -77 )

[node name="GrapplingHook2" type="Position2D" parent="."]

[node name="GrapplingHook3" type="Position2D" parent="."]

transform/pos = Vector2( 0, 82 )


